package cn.whpu.omnitrixerp.entity.po.auth;

import cn.whpu.omnitrixerp.entity.po.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色菜单表
 *
 * @author Gim Gong
 * @date 2025/6/28
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value = "sys_role_permission")
@Data
public class RolePermissionPO extends BaseEntity {

    /**
     * 角色ID
     */
    @TableField(value = "role_id")
    private Integer roleId;

    /**
     * 权限ID
     */
    @TableField(value = "permission_id")
    private Integer permissionId;

}